function usertype_save() {
	var url = "usertype!save.action";
	var params = {
			usertypeName : $('#usertypeName').attr('value')
	};
	jQuery.post(url, params, callback);
}

function callback(data) {
	if(data=="success"){
		showDialog_add();
	}else{
		alert(data);
	}
}


function category_save() {
	var url = "category!save.action";
	var params = {
		name : $("input[name='name']").attr("value"),
		comment : $("input[name='comment']").attr("value"),
		articleAudit : $("input[name='articleAudit']").attr("value"),
		criticismAudit : $("input[name='criticismAudit']").attr("value"),
		newsign : $("input[name='newsign']").attr("value")
	};
	JQuery.post(url,params,callback);
}
